import 'package:get/get.dart';
import 'package:smart_devices/vo/purchase_order.dart';

class PurchaseOrderLogic extends GetxController {
  RxString search = RxString('');

  RxList<PurchaseOrderVo> orders = RxList([]);

  @override
  void onInit() {
    super.onInit();
    for (var i = 0; i < 15; i++) {
      orders.add(PurchaseOrderVo(orderNo: 'CGDD202207', subject: '设备采购005', buyDate: '2023-11-07'));
    }
  }
}
